def log(func):
    def wrapper(*args,**kw):
        print('call %s:'%func.__name__)
        return func(*args,**kw)
    return wrapper
@log
def now():
    print('2018-11-6')
now()
